/* pages/do-order/do-order.wxss */
@import '../../style/order.wxss';

.container {
  padding-bottom: 160rpx;
  padding-top: 0;
}

.base-info {
  position: relative;
  width: 96%;
  padding: 0 20rpx;
  margin: 0 auto;
  margin-top: 20rpx;
  background-color: #fff;
  border-radius: 16rpx;
}

.base-info-title {
  display: flex;
  align-items: center;
  font-size: var(--large-font);
  color: var(--main-color);
  font-weight: bold;
  height: 60rpx;
}

.order-level {
  height: 40rpx;
  line-height: 40rpx;
  padding: 0 12rpx;
  font-size: 22rpx;
  font-weight: normal;
  color: #fff;
  margin-left: 6rpx;
  border-radius: 28rpx 28rpx 28rpx 0;
}

.base-info-txt {
  line-height: 50rpx;
  font-size: var(--small-font);
  color: var(--desc-color);
}

.base-info-desc {
  font-size: var(--small-font);
  color: var(--desc-color);
  line-height: 44rpx;
}

.status-txt {
  position: absolute;
  top: 30rpx;
  right: 40rpx;
}

.base-info-btn {
  position: absolute;
  right: 20rpx;
  top: 80rpx;
}

.info-btn-img {
  width: 70rpx;
  height: 70rpx;
  margin-left: 10rpx;
}

.bottom-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 20;
  width: 100%;
  height: 120rpx;
  background-color: #fff;
  padding: 0 30rpx;
  z-index: 10001;

  .item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140rpx;
    height: 50rpx;
    color: #fff;
    font-size: var(--mini-font);
    background-color: var(--color-priamry);
    margin-left: 20rpx;
    border-radius: 60rpx;

    &.btn1 {
      background-color: var(--color-warning);
    }

    &.btn2 {
      background-color: var(--color-success);
    }

    &.disabled {
      background-color: #ddd !important;
    }
  }
}



.wx-button-cover-view-inner {
  padding: 0 !important;
}

.do-center {
  position: relative;
  width: 96%;
  margin: 0 auto;
  margin-top: 20rpx;
}

.order-handle {
  position: relative;
  width: 96%;
  margin: 0 auto;
  margin-top: 20rpx;
  padding: 20rpx;
  background-color: #fff;
  border-radius: 16rpx;
}

.part-title {
  position: relative;
  width: 100%;
  height: 60rpx;
  line-height: 60rpx;
  text-indent: 40rpx;
  color: var(--main-color);
}

.tip-text {
  line-height: 50rpx;
  font-size: var(--mini-font);
  color: var(--bg-color);
}

.part-title::before {
  position: absolute;
  left: 10rpx;
  top: 18rpx;
  content: '';
  width: 6rpx;
  height: 30rpx;
  background-color: var(--bg-color);
}

.placeholder-style {
  color: var(--desc-color);
  font-size: var(--small-font);
  font-weight: 400;
}

.textarea-input {
  font-size: var(--small-font);
  color: var(--normal-color);
  margin-left: 10rpx;
  margin-top: 30rpx;
  margin-bottom: 30rpx;
  border-bottom: 1px solid #EBEEF5;
  padding: 20rpx 0;
}



.textarea-input {
  flex: 1;
}

.reason {
  display: flex;
}

.reason-item {
  padding: 6rpx 16rpx;
  font-size: 26rpx;
  color: #fff;
  margin-left: 10rpx;
  background-color: var(--bg-color);
  border-radius: 8rpx;
}

/************* 进度条 **********/
.order-step {
  position: relative;
  width: 96%;
  margin: 0 auto;
  margin-top: 20rpx;
  padding: 20rpx;
  background-color: #fff;
  border-radius: 16rpx;
}

.timeline {
  margin: 0;
  font-size: 14px;
  padding-left: 24rpx;
  margin-top: 20rpx;
}

.timeline-item {
  position: relative;
  padding-bottom: 20rpx;
}

.timeline-item__tail {
  position: absolute;
  left: 4px;
  height: 100%;
  border-left: 2px solid #00cf95;
}

.timeline-item__node {
  position: absolute;
  left: -1px;
  width: 12px;
  height: 12px;
  color: #00cf95;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-item__wrapper {
  position: relative;
  padding-left: 28px;
  top: -3px;
}

.timeline .timeline-item:last-child .timeline-item__tail {
  display: none;
}

.timebox {
  margin-top: 8rpx;
  font-size: var(--small-font);
  color: var(--desc-color);
}

.step-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--normal-color);
  font-size: var(--small-font);
  margin-bottom: 20rpx;

  .step-result {
    font-size: 28rpx;
  }
}



/************* 进度条 **********/

/************* 电子签名 **********/
.order-sign {
  position: relative;
  width: 100%;
  margin: 20rpx auto;
  /* padding: 20rpx 0; */
  background-color: #fff;
}

.sign-contain {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 500rpx;
}

.signName {
  position: relative;
  flex: 1;
  background-color: #f2f2f2;
  border-radius: 10rpx;
}

.canvas {
  width: 100%;
  height: 100%;
}

.bg000 {
  background-color: #f2f2f2;
}

.btn-wrap {
  width: 100%;
  height: 60rpx;
  line-height: 60rpx;
  text-align: right;
  font-size: var(--small-font);
}

.btn-wrap {
  margin-right: 20rpx;
  color: var(--bg-color);
}

.sign-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
}

/************* 电子签名 **********/
.wx-radio-input {
  width: 28rpx !important;
  height: 28rpx !important;
  border-radius: 100%;
  margin-left: 20rpx;
  background-color: #fff !important;
}

.wx-radio-input.wx-radio-input-checked {
  width: 28rpx !important;
  height: 28rpx !important;
  background-color: #00bcd4 !important;
}

/******弹出窗*************/
.toast-box {
  width: 100%;
  height: 100%;
  opacity: 1;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

.toastbg {
  opacity: 0.5;
  background-color: black;
  position: absolute;
  width: 100%;
  min-height: 100vh;
}

.showToast {
  position: absolute;
  opacity: 1;
  width: 80%;
  margin-left: 10%;
  margin-top: 60%;
}

.toast-main {
  padding-top: 2vh;
  padding-bottom: 2vh;
  background-color: white;
  /* text-align: center; */
  border-top-left-radius: 16rpx;
  border-top-right-radius: 16rpx;
}

.toast-title {
  margin-left: 5%;
  color: #000;
  font-size: var(--medium-font);
}

.toast-input {
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 6%;
  margin-bottom: 6%;
  background-color: rgb(240, 240, 240);
  padding-left: 2vh;
  padding-right: 2vh;
  padding-top: 1vh;
  padding-bottom: 1vh;
}

.toast-input .toast-textarea {
  width: 100%;
  font-size: var(--small-font);
  color: var(--normal-color);
  max-height: 150rpx;
  background-color: rgb(240, 240, 240);
}

.toast-button {
  display: flex;
  background-color: white;
  height: 50px;
  width: 100%;
  border-radius: 0px;
  border-bottom-left-radius: 16rpx;
  border-bottom-right-radius: 16rpx;
  border-top: 1px solid rgb(211, 211, 211);
}

.button1 {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  border-bottom-left-radius: 16rpx;
}

.button2 {
  width: 50%;
  border-left: 1px solid rgb(211, 211, 211);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
}

.part-sub-title {
  height: 80rpx;
  line-height: 80rpx;
  font-size: var(--small-font);
}

.rg1 {
  margin: 20rpx 0 30rpx;
}

.radio-label {
  font-size: var(--small-font);
}

.line {
  width: 100%;
  height: 0;
  border-top: 4rpx dashed #f2f2f2;
  margin: 20rpx 0;
}

.weui-cell {
  width: 100%;
  padding: 10px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.weui-cell__bd {
  flex: 1;
  font-size: var(--small-font);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-container-wrap {
  .page-container-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100rpx;
    font-size: 32rpx;
    font-weight: bold;
    color: var(--main-text);
  }

  .form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80rpx;
    border-bottom: 1px solid #f2f2f2;
    padding: 0 30rpx;

    .form-item-label {
      position: relative;
      display: flex;
      align-items: center;
      height: 60rpx;
      color: var(--base-text);
      font-size: 28rpx;
      font-weight: bold;

      .required-icon {
        color: var(--color-error);
        margin-left: 6rpx;
      }
    }

    .form-item-value {
      display: flex;

      .input-wrap {
        display: flex;
        align-items: center;
        height: 60rpx;

        .iconfont {
          margin-right: 10rpx;
        }
      }

      // justify-content: flex-end;
      // align-items: center;
      // flex: 1;
      // color: var(--main-text);
    }
  }

  .textarea-wrap {
    width: 100%;
    padding: 0 30rpx;

    .textarea-wrap-inner {
      width: 100%;
      height: 200rpx;
      border: 2rpx solid var(--border-color);
      border-radius: 12rpx;
      padding: 20rpx;
    }

    .textarea-input {
      width: 100%;
      font-size: var(--small-font);
      color: var(--normal-color);
    }
  }

  .cus-tree {
    height: 50vh;
    width: 100%;
    background-color: #fff;
    padding: 20rpx;
    box-sizing: border-box;
  }

  .submit-btn {
    display: flex;
    height: 50px;
    width: 100%;
    margin-top: 30rpx;
    background-color: #fff;

    .submit-btn-item {
      width: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 32rpx;
      color: #fff;

      &:first-child {
        background-color: var(--color-warning);
      }

      &:last-child {
        background-color: var(--color-priamry);
      }
    }
  }
}